package com.sweetguy.vo;

import com.sweetguy.entity.Menu;
import com.sweetguy.entity.User;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


import java.io.Serializable;
import java.util.List;

@Schema(name = "用户登录VO")
@Data
public class LoginVO implements Serializable {
    @Schema(description = "用户信息")
    private User user;

    @Schema(description = "Token令牌")
    private String token;

    @Schema(description = "角色列表")
    List<String> roleTitles;

    @Schema(description = "菜单列表")
    List<Menu> menus;
}
